package com.cskaoyan.market.admin.service;

import com.cskaoyan.market.db.domain.MarketCoupon;

import javax.servlet.http.HttpServletResponse;
import java.math.BigDecimal;
import java.util.List;

public interface MarketCouponService {
    List<MarketCoupon> doList(Integer page, Integer limit, String name, Integer status, String sort, String order);

    int delete(Integer id);

    MarketCoupon update(String name, String desc, String tag, BigDecimal min,Short limit,Integer total,Short days,Integer id,Short type);

    MarketCoupon read(Integer id);

    void listUser(HttpServletResponse resp);

    MarketCoupon create(MarketCoupon marketCoupon);
}
